const fs = require('fs');
const path = require('path');
const readFile = () => new Promise(resolve => fs.readdir(process.cwd(), (err, fls) => resolve(fls)));

(async() => {
	let files = await readFile()

	files.forEach(file => console.log(file));
})();
